<script setup>
import { ref } from 'vue'

defineProps({
  msg: String,
})
const radio1 = ref('True')
const count = ref(0)

const str_content = "{\n    \"井名\": \"艾1井\",\n    \"井别\": \"预探井\",\n    \"井型\": \"直井\",\n    \"横坐标\": 18463775.8,\n    \"纵坐标\": 4584403.6,\n    \"地理位置\": \"内蒙古自治区阿拉善盟阿拉善左旗银根苏木\",\n    \"构造\": \"银额盆地苏红图东区块艾西凹陷中洼洼槽带\",\n    \"位置\": \"中洼洼槽带\",\n    \"地面海拔\": 746,\n    \"磁偏角\": -1°56,\n    \"完钻原则\": \"设计井深内，若钻遇变质岩，则提前完钻。\"\n}";
</script>

<template>
  <h1>{{ msg }}</h1>
  1
  <el-row :gutter="20">
    <el-col :span="6">222</el-col>
    <el-col :span="6">22</el-col>
    <el-col :span="6">33</el-col>
    <el-col :span="6">444</el-col>
  </el-row>
  <el-row style="flex-direction: row;">
        <el-col :span="6">
          <el-button>文本检索</el-button>
        </el-col>
        <el-col :span="6">
          <el-button>数据读取</el-button>
        </el-col>
      </el-row>

  <div class="card">
    <button type="button" @click="count++">count is {{ count }}</button>
    <p>
      Edit
      <code>components/HelloWorld.vue</code> to test HMR
    </p>
  </div>

  <p>
    Check out
    <a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
      >create-vue</a
    >, the official Vue + Vite starter
  </p>
  <p>
    Install
    <a href="https://github.com/vuejs/language-tools" target="_blank">Volar</a>
    in your IDE for a better DX
  </p>
  <p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
  <div>
    {{ str_content }}

  </div>
  <span>
    {{ str_content }}

  </span>
  <el-radio-group v-model="radio1">
      <el-radio value="True" size="large">Option 1</el-radio>
      <el-radio value="False" size="large">Option 2</el-radio>
    </el-radio-group>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
